//
//  path_planning.h
//  smart_garbage_case
//
//  Created by fukai,caihui on 2018/11.
//  Copyright © 2018年 Cyber01. All rights reserved.
//

#ifndef path_planning_h
#define path_planning_h



//障碍状态
typedef enum
{
	PATH_NORMAL = 0,	//正常
	PATH_AVOIDANCE,		//躲避
	PATH_ARRIVAL,		//到达终点
}PathStatusNode;



//坐标结构体
typedef struct
{
	int start_x;	//起点坐标
	int start_y;
	int end_x;		//终点坐标
	int end_y;
	int cur_x;		//当前坐标
	int cur_y;		
}AxisNode;


//路径分析结构体
typedef struct
{
	
	AxisNode Axis;
	PathStatusNode PathStatus;
}PathPlanningNode;



void CarPathPlanning(void);//路径规划算法


#endif


